Optimal. Leaf size=72 \[ -\frac{\left (b^2-4 a c\right )^2}{32 c^3 d^2 (b+2 c x)}-\frac{x \left (b^2-8 a c\right )}{16 c^2 d^2}+\frac{b x^2}{8 c d^2}+\frac{x^3}{12 d^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.142718, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.042 \[ -\frac{\left (b^2-4 a c\right )^2}{32 c^3 d^2 (b+2 c x)}-\frac{x \left (b^2-8 a c\right )}{16 c^2 d^2}+\frac{b x^2}{8 c d^2}+\frac{x^3}{12 d^2} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x + c*x^2)^2/(b*d + 2*c*d*x)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{b \int x\, dx}{4 c d^{2}} + \frac{x^{3}}{12 d^{2}} - \frac{\left (- 8 a c + b^{2}\right ) \int \frac{1}{16}\, dx}{c^{2} d^{2}} - \frac{\left (- 4 a c + b^{2}\right )^{2}}{32 c^{3} d^{2} \left (b + 2 c x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**2+b*x+a)**2/(2*c*d*x+b*d)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.110722, size = 59, normalized size = 0.82 \[ \frac{-\frac{3 \left (b^2-4 a c\right )^2}{c^3 (b+2 c x)}-\frac{6 x \left (b^2-8 a c\right )}{c^2}+\frac{12 b x^2}{c}+8 x^3}{96 d^2} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x + c*x^2)^2/(b*d + 2*c*d*x)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 70, normalized size = 1. \[{\frac{1}{{d}^{2}} \left ({\frac{1}{16\,{c}^{2}} \left ({\frac{4\,{x}^{3}{c}^{2}}{3}}+2\,{x}^{2}bc+8\,acx-{b}^{2}x \right ) }-{\frac{16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4}}{32\,{c}^{3} \left ( 2\,cx+b \right ) }} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^2+b*x+a)^2/(2*c*d*x+b*d)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.679872, size = 104, normalized size = 1.44 \[ -\frac{b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}}{32 \,{\left (2 \, c^{4} d^{2} x + b c^{3} d^{2}\right )}} + \frac{4 \, c^{2} x^{3} + 6 \, b c x^{2} - 3 \,{\left (b^{2} - 8 \, a c\right )} x}{48 \, c^{2} d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2/(2*c*d*x + b*d)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.20882, size = 115, normalized size = 1.6 \[ \frac{16 \, c^{4} x^{4} + 32 \, b c^{3} x^{3} + 96 \, a c^{3} x^{2} - 3 \, b^{4} + 24 \, a b^{2} c - 48 \, a^{2} c^{2} - 6 \,{\left (b^{3} c - 8 \, a b c^{2}\right )} x}{96 \,{\left (2 \, c^{4} d^{2} x + b c^{3} d^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2/(2*c*d*x + b*d)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 2.11095, size = 78, normalized size = 1.08 \[ \frac{b x^{2}}{8 c d^{2}} - \frac{16 a^{2} c^{2} - 8 a b^{2} c + b^{4}}{32 b c^{3} d^{2} + 64 c^{4} d^{2} x} + \frac{x^{3}}{12 d^{2}} + \frac{x \left (8 a c - b^{2}\right )}{16 c^{2} d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**2+b*x+a)**2/(2*c*d*x+b*d)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.214838, size = 181, normalized size = 2.51 \[ -\frac{{\left (2 \, c d x + b d\right )}^{3}{\left (\frac{6 \, b^{2} d^{2}}{{\left (2 \, c d x + b d\right )}^{2}} - \frac{24 \, a c d^{2}}{{\left (2 \, c d x + b d\right )}^{2}} - 1\right )}}{96 \, c^{3} d^{5}} - \frac{\frac{b^{4} c^{3} d^{7}}{2 \, c d x + b d} - \frac{8 \, a b^{2} c^{4} d^{7}}{2 \, c d x + b d} + \frac{16 \, a^{2} c^{5} d^{7}}{2 \, c d x + b d}}{32 \, c^{6} d^{8}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2/(2*c*d*x + b*d)^2,x, algorithm="giac")
[Out]